<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String userid =  request.getParameter("userid");
if (userid ==null){
	userid = "nobody";
}
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<%=userid %>>
<form action="">
		帳號:<input id="userid" name="userid" type="text" value="Sam1" src=""/><span id="userid_msg">Sam1</span>
		<br/>
		密碼:<input id="pw1" name="pw1" type="text" value="1234" src="valid.png"/><span id="pw1_msg">abcd</span>
		<br/>
		密碼:<input id="pw2" name="pw2" type="text" value="abcd" /><span id="pw2_msg">efgh</span>("請再輸入一次")
		<br/>
		E-mail:<input id="email" name="email" type="text" value="" /><span id="email_msg">123@123.com.tw</span>
		<br/>
		<input type="submit" value="註冊"/>
	</form> 
</body>
</html>